package com.dragon.modules.yuegou.entity.product;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 会员助力活动参与信息表实体类<br>
 * 对应的表为：pro_help_member_joinin<br>
 * 
 * @author px
 * @date 2019-04-12 09:11:43
 * @company sgy
 * @version 2.0
 */
@TableName("pro_help_member_joinin")
@ApiModel(description = "会员助力活动参与信息表")
public class HelpMemberJoininEntity {

    /**  */
	protected String id;

    /** 当前参加人数 */
	@ApiModelProperty("当前参加人数")
	protected String busdId;

    /** 助力活动ID */
	@ApiModelProperty("助力活动ID")
	protected String helpId;

    /** 商品ID */
	@ApiModelProperty("商品ID")
	protected String skuId;

    /** 参与助力活动的会员ID */
	@ApiModelProperty("参与助力活动的会员ID")
	protected String memberId;

    /** 发起助力活动的会员ID */
	@ApiModelProperty("发起助力活动的会员ID")
	protected String createHelpMemberId;

    /** 会员参与的活动ID */
	@ApiModelProperty("会员参与的活动ID")
	protected String helpMemberRefId;

    /** 助力最大值 */
	@ApiModelProperty("助力最大值")
	protected BigDecimal helpMaxValue;

    /** 助力当前值 */
	@ApiModelProperty("助力当前值")
	protected BigDecimal helpNowValue;

    /** 助力时间 */
	@ApiModelProperty("助力时间")
	protected LocalDateTime createdTime;

	/**
	 * 构造一个空会员助力活动参与信息表实体对象
	 */
	public HelpMemberJoininEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个会员助力活动参与信息表实体对象
	 * 
	 * @param other 其它对象
	 */
	public HelpMemberJoininEntity(HelpMemberJoininEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.helpId = other.helpId;
     	this.skuId = other.skuId;
     	this.memberId = other.memberId;
     	this.createHelpMemberId = other.createHelpMemberId;
     	this.helpMemberRefId = other.helpMemberRefId;
     	this.helpMaxValue = other.helpMaxValue;
     	this.helpNowValue = other.helpNowValue;
     	this.createdTime = other.createdTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取当前参加人数
	 * 
	 * @return busdId 当前参加人数
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置当前参加人数
	 * 
	 * @param busdId 当前参加人数
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取助力活动ID
	 * 
	 * @return helpId 助力活动ID
	 */
	public String getHelpId() {
		return helpId;
	}
  	
	/**
	 * 设置助力活动ID
	 * 
	 * @param helpId 助力活动ID
	 */
	public void setHelpId(String helpId) {
		this.helpId = helpId;
	}

	/**
	 * 获取商品ID
	 * 
	 * @return skuId 商品ID
	 */
	public String getSkuId() {
		return skuId;
	}
  	
	/**
	 * 设置商品ID
	 * 
	 * @param skuId 商品ID
	 */
	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	/**
	 * 获取参与助力活动的会员ID
	 * 
	 * @return memberId 参与助力活动的会员ID
	 */
	public String getMemberId() {
		return memberId;
	}
  	
	/**
	 * 设置参与助力活动的会员ID
	 * 
	 * @param memberId 参与助力活动的会员ID
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取发起助力活动的会员ID
	 * 
	 * @return createHelpMemberId 发起助力活动的会员ID
	 */
	public String getCreateHelpMemberId() {
		return createHelpMemberId;
	}
  	
	/**
	 * 设置发起助力活动的会员ID
	 * 
	 * @param createHelpMemberId 发起助力活动的会员ID
	 */
	public void setCreateHelpMemberId(String createHelpMemberId) {
		this.createHelpMemberId = createHelpMemberId;
	}

	/**
	 * 获取会员参与的活动ID
	 * 
	 * @return helpMemberRefId 会员参与的活动ID
	 */
	public String getHelpMemberRefId() {
		return helpMemberRefId;
	}
  	
	/**
	 * 设置会员参与的活动ID
	 * 
	 * @param helpMemberRefId 会员参与的活动ID
	 */
	public void setHelpMemberRefId(String helpMemberRefId) {
		this.helpMemberRefId = helpMemberRefId;
	}

	/**
	 * 获取助力最大值
	 * 
	 * @return helpMaxValue 助力最大值
	 */
	public BigDecimal getHelpMaxValue() {
		return helpMaxValue;
	}
  	
	/**
	 * 设置助力最大值
	 * 
	 * @param helpMaxValue 助力最大值
	 */
	public void setHelpMaxValue(BigDecimal helpMaxValue) {
		this.helpMaxValue = helpMaxValue;
	}

	/**
	 * 获取助力当前值
	 * 
	 * @return helpNowValue 助力当前值
	 */
	public BigDecimal getHelpNowValue() {
		return helpNowValue;
	}
  	
	/**
	 * 设置助力当前值
	 * 
	 * @param helpNowValue 助力当前值
	 */
	public void setHelpNowValue(BigDecimal helpNowValue) {
		this.helpNowValue = helpNowValue;
	}

	/**
	 * 获取助力时间
	 * 
	 * @return createdTime 助力时间
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置助力时间
	 * 
	 * @param createdTime 助力时间
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

    public String toString() {
		return new StringBuilder().append("HelpMemberJoininEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",helpId=").append(helpId).
			append(",skuId=").append(skuId).
			append(",memberId=").append(memberId).
			append(",createHelpMemberId=").append(createHelpMemberId).
			append(",helpMemberRefId=").append(helpMemberRefId).
			append(",helpMaxValue=").append(helpMaxValue).
			append(",helpNowValue=").append(helpNowValue).
			append(",createdTime=").append(createdTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public HelpMemberJoininEntity copy() {
		return new HelpMemberJoininEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 当前参加人数 */
	public static final String COL_BUSD_ID = "busd_id";

    /** 助力活动ID */
	public static final String COL_HELP_ID = "help_id";

    /** 商品ID */
	public static final String COL_SKU_ID = "sku_id";

    /** 参与助力活动的会员ID */
	public static final String COL_MEMBER_ID = "member_id";

    /** 发起助力活动的会员ID */
	public static final String COL_CREATE_HELP_MEMBER_ID = "create_help_member_id";

    /** 会员参与的活动ID */
	public static final String COL_HELP_MEMBER_REF_ID = "help_member_ref_id";

    /** 助力最大值 */
	public static final String COL_HELP_MAX_VALUE = "help_max_value";

    /** 助力当前值 */
	public static final String COL_HELP_NOW_VALUE = "help_now_value";

    /** 助力时间 */
	public static final String COL_CREATED_TIME = "created_time";
}
